/* 
 * Copyright 2013-2020 Modeliosoft
 * 
 * This file is part of Modelio.
 * 
 * Modelio is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * Modelio is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with Modelio.  If not, see <http://www.gnu.org/licenses/>.
 * 
 */
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.12.02 at 02:29:48 PM CET
//
package org.modelio.bpmnxml.model;

import java.math.BigInteger;
import com.modeliosoft.modelio.javadesigner.annotations.objid;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlType;

/**
 * <p>Java class for tStandardLoopCharacteristics complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="tStandardLoopCharacteristics">
 * &lt;complexContent>
 * &lt;extension base="{http://www.omg.org/spec/BPMN/20100524/MODEL}tLoopCharacteristics">
 * &lt;sequence>
 * &lt;element name="loopCondition" type="{http://www.omg.org/spec/BPMN/20100524/MODEL}tExpression" minOccurs="0"/>
 * &lt;/sequence>
 * &lt;attribute name="testBefore" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
 * &lt;attribute name="loopMaximum" type="{http://www.w3.org/2001/XMLSchema}integer" />
 * &lt;anyAttribute processContents='lax' namespace='##other'/>
 * &lt;/extension>
 * &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 */
@objid ("e76caafb-bfa2-403c-b04f-dc8c363d5950")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "tStandardLoopCharacteristics", propOrder = {
    "loopCondition"
})
public class TStandardLoopCharacteristics extends TLoopCharacteristics {
    @objid ("75cf0a3f-f545-4e02-af46-5c4bebf27943")
    @XmlAttribute(name = "testBefore")
    protected Boolean testBefore;

    @objid ("ec30f6d8-93a4-4413-af92-9a5a24a98534")
    protected TExpression loopCondition;

    @objid ("084c54fe-ec76-412f-bb26-7b67c28a4fbd")
    @XmlAttribute(name = "loopMaximum")
    protected BigInteger loopMaximum;

    /**
     * Gets the value of the loopCondition property.
     * @return
     * possible object is
     * {@link TExpression }
     */
    @objid ("28467a93-ebe6-4b83-9269-5e5784f82e32")
    public TExpression getLoopCondition() {
        return this.loopCondition;
    }

    /**
     * Sets the value of the loopCondition property.
     * @param value allowed object is
     * {@link TExpression }
     */
    @objid ("53630af0-ae4f-44cb-8873-0d4774992db2")
    public void setLoopCondition(TExpression value) {
        this.loopCondition = value;
    }

    /**
     * Gets the value of the testBefore property.
     * @return
     * possible object is
     * {@link Boolean }
     */
    @objid ("a4a849c6-9fca-47cc-a78e-c2cb5a8ba940")
    public boolean isTestBefore() {
        if (this.testBefore == null) {
            return false;
        } else {
            return this.testBefore;
        }
        
    }

    /**
     * Sets the value of the testBefore property.
     * @param value allowed object is
     * {@link Boolean }
     */
    @objid ("738adaa6-b5b8-4389-a111-5a8e52604bf6")
    public void setTestBefore(Boolean value) {
        this.testBefore = value;
    }

    /**
     * Gets the value of the loopMaximum property.
     * @return
     * possible object is
     * {@link BigInteger }
     */
    @objid ("298a689e-4a09-4c8c-8cab-ce70bdc0a21f")
    public BigInteger getLoopMaximum() {
        return this.loopMaximum;
    }

    /**
     * Sets the value of the loopMaximum property.
     * @param value allowed object is
     * {@link BigInteger }
     */
    @objid ("608471cb-94a9-47e0-9b34-4915e2a58649")
    public void setLoopMaximum(BigInteger value) {
        this.loopMaximum = value;
    }

}
